package com.component.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import com.component.domain.base.DataBase;
import lombok.Data;

/**
 * 
 * @TableName m_user_token
 */
@TableName(value ="m_user_token")
@Data
public class MUserToken extends DataBase implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 是否启用
     */
    @TableId
    private Boolean isDisabled;

    /**
     * 令牌
     */
    private String token;

    /**
     * 用户id
     */
    private String userid;

    /**
     * 用户名
     */
    private String username;

    /**
     * 登录时间
     */
    private Date logindate;

    /**
     * 
     */
    private Integer deleted;

    /**
     * 
     */
    private Date createtime;

    /**
     * 
     */
    private Date updatetime;

    /**
     * 
     */
    private Integer version;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}